<template>
 <div class="list-group" keep-alive>
  <a v-for="router in routers" v-link="{path:router.link}" class="list-group-item">{{router.name}}</a>
  </div>
 </template>

 <script>
import { queryRouters } from "../../vuex/actions/"
import { getRouters } from '../../vuex/getters/';

export default {
	vuex: {
    	getters: {
           routers:getRouters
        },
	    actions: {
	       queryRouters
	    }
	},
  ready(){
     //this.queryRouters();
  }
}
</script>
